package com.sinothk.base.feedback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 应用反馈
 * @Author: Liangyt
 * @Date:   2022-07-13
 * @Version: V1.0
 */
@Data
@TableName("comm_sys_feedback")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="comm_sys_feedback对象", description="应用反馈")
public class FeedbackEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
    /**反馈类型:0运行报错1功能改进*/
    @Excel(name = "反馈类型:0运行报错1功能改进", width = 15)
    @ApiModelProperty(value = "反馈类型:0运行报错1功能改进")
    private Integer contentType;
	/**内容文本*/
	@Excel(name = "内容文本", width = 15)
    @ApiModelProperty(value = "内容文本")
    private String contentTxt;
	/**内容文件*/
	@Excel(name = "内容文件", width = 15)
    @ApiModelProperty(value = "内容文件")
    private String contentFileUrl;
	/**状态：0待处理1已处理2无法重现*/
	@Excel(name = "状态：0待处理1已处理2无法重现", width = 15)
    @ApiModelProperty(value = "状态：0待处理1已处理2无法重现")
    private Integer state;
	/**答复人员ID*/
	@Excel(name = "答复人员ID", width = 15)
    @ApiModelProperty(value = "答复人员ID")
    private String answerUserId;
	/**答复人员姓名*/
	@Excel(name = "答复人员姓名", width = 15)
    @ApiModelProperty(value = "答复人员姓名")
    private String answerUserName;
	/**答复内容*/
	@Excel(name = "答复内容", width = 15)
    @ApiModelProperty(value = "答复内容")
    private String answerContentTxt;
	/**答复文件*/
	@Excel(name = "答复文件", width = 15)
    @ApiModelProperty(value = "答复文件")
    private String answerContentFile;
	/**答复时间*/
	@Excel(name = "答复时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "答复时间")
    private Date answerTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
